#include <WinTen.h>
#include <Windows.h>
#include <ClipApi.h>


extern WORD __hInstance;

CLIPPER cMdiStruct()
{
   MDICREATESTRUCT mdiCreate;

   mdiCreate.szClass = _parc( 1 );
   mdiCreate.szTitle = _parc( 2 );
   mdiCreate.hOwner  = __hInstance;
   mdiCreate.x       = _parni( 4 );
   mdiCreate.y       = _parni( 3 );
   mdiCreate.cx      = _parni( 6 ) - _parni( 4 ) + 1;
   mdiCreate.cy      = _parni( 5 ) - _parni( 3 ) + 1;
   mdiCreate.style   = _parni( 7 );
   mdiCreate.lParam  = _parnl( 8 );

   _retclen( (LPBYTE) &mdiCreate, sizeof( MDICREATESTRUCT ) );
}
